$(document).ready(function() {
    $(".update-button").click(function(){
        $(this).siblings(".sub-update-menu").slideToggle('fast');
    });

    $(".detail-button").click(function(){
        $(this).siblings(".sub-detail-menu").slideToggle('fast');
    });
    
    $(".datetime").datepicker({
        dateFormat: date_format
    });
});

$(window).load(function() {
    var left_height = $("#tracking-left").height();
    var right_height = $(".tracking-right").height();
    if ( left_height < right_height ) {
        $("#tracking-left").height(right_height);
    }
});
